/*******************************************************************
 *
 * Copyright (C), 2021-2022, LS, All rights reserved.
 *
 * Author      : 
 * Create Time : 2021-09-22
 * Version     : v0.1
 * Description : 
 *******************************************************************/
#ifndef _HAL_HALL_H_
#define _HAL_HALL_H_
 
/*----------------------------Head file----------------------------*/
#include "error.h"
#include "types.h"
#include "stdint.h"
#include "stdbool.h"

/*----------------------------macro file---------------------------*/

/*----------------------------type define--------------------------*/
typedef void (*hal_hall_evt_cb_t)(uint8_t pin, bool active);

/*----------------------------var define---------------------------*/

/*-------------------------func declaration------------------------*/
extern int hal_hall_hw_init(hal_hall_evt_cb_t cb);
extern int hal_hall_hw_deinit(void);

/*-----------------------------------------------------------------*/


#endif


